package com.qdlc.p2p.dal.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述: 
 * @author linya
 * @date 2016-5-9
 */
public class AdditionalUserCard implements Serializable{
	
	private static final long serialVersionUID = -7380590980603338460L;

	private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 卡片名称
     */
    private String name;

    /**
     * 卡片类型
     */
    private int type;

    /**
     * 状态
     */
    private int status;

    /**
     * 卡片的有效期天数
     */
    private int validDay;

    /**
     * 卡片过期时间
     */
    private Date expiredTime;

    /**
     * 使用时间
     */
    private Date useTime;

    /**
     * 获取时间
     */
    private Date addTime;

    /**
     * 卡片获取来源
     */
    private String sourceType;

    /**
     * 使用类型
     */
    private String useType;

    /**
     * 关联ID
     */
    private Long keyId;

    /**
     * 版本号
     */
    private Long version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getValidDay() {
        return validDay;
    }

    public void setValidDay(int validDay) {
        this.validDay = validDay;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType == null ? null : sourceType.trim();
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType == null ? null : useType.trim();
    }

    public Long getKeyId() {
        return keyId;
    }

    public void setKeyId(Long keyId) {
        this.keyId = keyId;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
    
}